home *** CD-ROM | disk | FTP | other *** search
/ Exploring Aeronautics / NASA Exploring Aeronautics.iso / pc / source / index.dxr / 00001_main.ls next >
Encoding:
Text File  |  1998-06-02  |  679 b   |  27 lines

  1. global gMain, gSoundManager, gButtonManager
  2.  
  3. on startMovie
  4.   initMain()
  5.   mClearButtons(gButtonManager)
  6.   mAddButton(gButtonManager, 35, "nasabutton", "mGoToMovie(gMain, #main)")
  7.   puppetSprite(44, 0)
  8.   set handCursor to the number of member "handCursor"
  9.   set handCursorMask to the number of member "handCursorMask"
  10.   repeat with aSprite in [5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 16, 18, 19, 20, 21, 22, 23, 25, 26, 27, 30]
  11.     set the cursor of sprite aSprite to [handCursor, handCursorMask]
  12.   end repeat
  13. end
  14.  
  15. on stopMovieScript
  16. end
  17.  
  18. on startDemoMode
  19.   go("demoMode")
  20.   set the mouseDownScript to "stopDemoMode"
  21. end
  22.  
  23. on stopDemoMode
  24.   set the mouseDownScript to EMPTY
  25.   go(1)
  26. end
  27.